import 'dart:math';

import 'package:flutter/cupertino.dart';
/*
 * @Author: zhudaihao
 * @Date: 2022/3/11
 * @Describe: vm
 */

class Test4VM extends ChangeNotifier {
  int add = 0;
  int add2 = 0;

  bool isSelect=false;

  bool isSelect2=false;

  void setSelect(bool check){
    isSelect=check;
    debugPrint('---------isSelect: $isSelect');
    notifyListeners();
  }
  void setSelect2(bool check){
    isSelect2=check;
    debugPrint('---------isSelect2: $isSelect2');
    notifyListeners();
  }

  void addNumber() {
    add = add + 1;
    notifyListeners();
  }

  void addNumber2() {
    add = add + 1;
    notifyListeners();
  }
}
